home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / gl_dev.idb / usr / share / src / OpenGL / teach / xlib / README.z / README
Encoding:
Text File  |  1996-12-06  |  1.3 KB  |  33 lines

  1. This directory contains very simple programs which demonstrate
  2. how to write OpenGL programs using only Xlib
  3.  
  4. too-simple.c    - this program is from the glXIntro man page. its here
  5.           to demonstrate the most minimal xlib program, but its
  6.           not recommended for general use since it doesn't
  7.           deal with expose, resize or any type of input.
  8.  
  9. simplest.c    - minimal xlib program - draws simple geometry and
  10.           has simple event loop which deals with expose, resize
  11.           and keyboard events.
  12.  
  13. mouse.c        - simple double buffered xlib program using mouse motion
  14.           events to update viewing transform
  15.           LEFTMOUSE pans, MIDDLEMOUSE rotates about X and Y axes,
  16.           LEFTMOUSE+MIDDLEMOUSE zooms
  17.  
  18. animate.c    - simple double buffered xlib program.  uses spacebar
  19.           to stop and start animation.  uses MapNotify and UnmapNotify
  20.           events to disable animation while window is unmapped.
  21.  
  22. image.c        - simple single buffered RGB program which displays
  23.           an SGI image library (libimage) file.
  24.           Usage: image [-n] file.rgb
  25.  
  26. overlay.c    - a modification of the animate.c program which also creates
  27.           a transparent overlay window using the visual_info extension.
  28.           the program draws a static grid in the overlay window and
  29.           resizes or redraws the overlay window whenever it is
  30.           necessary.
  31.  
  32. pixmap.c    - demonstrates OpenGL rendering to an X11 pixmap.
  33.